﻿

    @if (Request.IsAuthenticated)
    {  
    
        <div class="Register">@Html.ActionLink("Hætta", "LogOff", "Account")</div>
        <text>  <strong class="LoginWelcome"> Welcome @User.Identity.Name</strong></text>
       
    }
    else
    {
                <div class="Login">@Html.ActionLink("Innskrá", "LogOn", "Account")</div>
           <div class="Register">@Html.ActionLink( "Sækja um" , "Register" , "Account" )</div>
    }

